<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"></meta>
    <title>Example If/Unless </title>
</head>
<body>
<script th:inline="javascript">
    function doDeleteById(id) {
        //给出提示信息
        if (!confirm("您确认删除吗")) return;//confirm为浏览器中window对象的函数
        //执行删除业务
        location.href = `http://localhost/brand/doDeleteById/${id}`;
    }

    function doAddUI(){
        location.href="/brand/doAddUI";
    }

</script>
<div>
    <h1>Bridge 你好！</h1>
</div>
</body>
</html>
